package com.hxzy.mapper;

import com.hxzy.controller.admin.contamer.req.ContamerReq;
import com.hxzy.entity.Contamer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【contamer(前端用户)】的数据库操作Mapper
* @createDate 2023-06-28 16:38:44
* @Entity com.hxzy.entity.Contamer
*/
public interface ContamerMapper extends BaseMapper<Contamer> {

    /**
     * 查询
     * @param req
     * @return
     */
    List<Contamer> search(@Param(value = "req") ContamerReq req);

    /**
     * 统计本年有数据
     * @return
     */
    List<Map> currentReportYear(@Param(value = "year") int year);
}




